package co.com.smart.eagle.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.eagle.entities.EagleSecurityRoles;
import co.com.smart.eagle.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class RolFacade
 */
@Stateless(name = "RolFacade", mappedName = "ejb/RolFacade")
public class RolFacade extends AbstractFacade<EagleSecurityRoles> implements RolFacadeLocal {

	@PersistenceContext(unitName = "SmartEaglePU")
	private EntityManager em;
    /**
     * Default constructor. 
     */
    public RolFacade() {
        super(EagleSecurityRoles.class);
    }
    
    @Override
    protected EntityManager getEntityManager() {
    	return em;
    }

}
